<?php
	
	if(!empty($_SESSION['ajaxFile'])){
		$ajaxArrary = $_SESSION['ajaxFile'];
		if(!empty($ajaxArrary['pathUpload'])){
			defined('CONFIG_SYS_DEFAULT_PATH')
			    || define('CONFIG_SYS_DEFAULT_PATH',$ajaxArrary['pathUpload']);
			
			defined('CONFIG_SYS_ROOT_PATH')
			    || define('CONFIG_SYS_ROOT_PATH',$ajaxArrary['pathUpload']);
		}
		
		if($ajaxArrary['member'] == true){			
			defined('CONFIG_ACCESS_CONTROL_MODE')
			    || define('CONFIG_ACCESS_CONTROL_MODE',false);
		}
		
	}